<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0"><meta name="format-detection" content="telephone=no">
    <title>slider</title>
    <link rel="stylesheet" href="../assets/agile/css/agile.layout.css">
<link rel="stylesheet" href="../assets/third/seedsui/plugin/seedsui/seedsui.min.css">
</head>

<body>
<div id="section_container">
    <section data-role="section" id="page_slider" class="active">
    	<header>
            <div class="titlebar">
                <a data-toggle="back" href="#">
                    <i class="icon icon-arrowleft"></i>
                </a>
                <h1>滑动广告</h1>
            </div>
        </header>

        
    	<article id="main_article" data-role="article" class="active">
            
            <div class="slider-container" id="carousel1">
                <div class="slider-wrapper">
                    <div class="slider-slide">
                        <img src="http://robort007.github.io/SeedsUI/preview/img/components/banner.jpg"/>
                        <div class="slide-title">新闻标题1</div>
                    </div>
                    <div class="slider-slide">
                        <img src="http://robort007.github.io/SeedsUI/preview/img/components/banner.jpg"/>
                        <div class="slide-title">新闻标题2</div>
                    </div>
                    <div class="slider-slide" style="background-color: yellow;">
                    </div>
                </div>
                <div class="slider-pagination"></div>
            </div>
            
            <p class="title">一屏3条</p>
            <div class="slider-container" id="carousel2">
                <div class="slider-wrapper">
                    <div class="slider-slide">
                        <img src="http://robort007.github.io/SeedsUI/preview/img/components/banner.jpg"/>
                        <div class="slide-title">新闻标题1</div>
                    </div>
                    <div class="slider-slide">
                        <img src="http://robort007.github.io/SeedsUI/preview/img/components/banner.jpg"/>
                        <div class="slide-title">新闻标题2</div>
                    </div>
                    <div class="slider-slide">
                        <img src="http://robort007.github.io/SeedsUI/preview/img/components/banner.jpg"/>
                        <div class="slide-title">新闻标题3</div>
                    </div>
                    <div class="slider-slide">
                        <img src="http://robort007.github.io/SeedsUI/preview/img/components/banner.jpg"/>
                        <div class="slide-title">新闻标题4</div>
                    </div>
                    <div class="slider-slide">
                        <img src="http://robort007.github.io/SeedsUI/preview/img/components/banner.jpg"/>
                        <div class="slide-title">新闻标题5</div>
                    </div>
                </div>
                <div class="slider-pagination"></div>
            </div>
        </article>
    </section>
</div>
<!--- third -->
	<script src="../assets/third/jquery/jquery-2.1.3.min.js"></script>
	<script src="../assets/third/jquery/jquery.mobile.custom.min.js"></script>
	<!---  agile -->
	<script type="text/javascript" src="../assets/agile/js/agile.js"></script>
<script type="text/javascript" src="../assets/bridge/exmobi.js"></script>
<script type="text/javascript" src="../assets/bridge/agile.exmobi.js"></script>			
	<!-- app -->
	<script type="text/javascript" src="../assets/app/js/app.seedsui.js"></script>
	
    
    
    
    
    
    
    <script type="text/javascript">
        window.onload=function(){
            var s1=new Slider("#carousel1",{
                "pagination":".slider-pagination",
                "loop":true
            });
            var s2=new Slider("#carousel2",{
                "pagination":".slider-pagination",
                "slidesPerView":"3",
                "loop":true
            });
        }
        
        
    </script>
</body>
</html>